function n(e, t) {
            return e << t | e >>> 32 - t
        }
        function o(e, t) {
            var r, n, o, i, a;
            return o = 2147483648 & e,
            i = 2147483648 & t,
            r = 1073741824 & e,
            n = 1073741824 & t,
            a = (1073741823 & e) + (1073741823 & t),
            r & n ? 2147483648 ^ a ^ o ^ i : r | n ? 1073741824 & a ? 3221225472 ^ a ^ o ^ i : 1073741824 ^ a ^ o ^ i : a ^ o ^ i
        }
        function i(e, t, r) {
            return e & t | ~e & r
        }
        function a(e, t, r) {
            return e & r | t & ~r
        }
        function u(e, t, r) {
            return e ^ t ^ r
        }
        function s(e, t, r) {
            return t ^ (e | ~r)
        }
        function d(e, t, r, a, u, s, d) {
            return e = o(e, o(o(i(t, r, a), u), d)),
            o(n(e, s), t)
        }
        function c(e, t, r, i, u, s, d) {
            return e = o(e, o(o(a(t, r, i), u), d)),
            o(n(e, s), t)
        }
        function f(e, t, r, i, a, s, d) {
            return e = o(e, o(o(u(t, r, i), a), d)),
            o(n(e, s), t)
        }
        function p(e, t, r, i, a, u, d) {
            return e = o(e, o(o(s(t, r, i), a), d)),
            o(n(e, u), t)
        }
        function l(e) {
            for (var t, r = e.length, n = r + 8, o = (n - n % 64) / 64, i = 16 * (o + 1), a = Array(i - 1), u = 0, s = 0; s < r; )
                t = (s - s % 4) / 4,
                u = s % 4 * 8,
                a[t] = a[t] | e.charCodeAt(s) << u,
                s++;
            return t = (s - s % 4) / 4,
            u = s % 4 * 8,
            a[t] = a[t] | 128 << u,
            a[i - 2] = r << 3,
            a[i - 1] = r >>> 29,
            a
        }
        function m(e) {
            var t, r, n = "", o = "";
            for (r = 0; r <= 3; r++)
                t = e >>> 8 * r & 255,
                o = "0" + t.toString(16),
                n += o.substr(o.length - 2, 2);
            return n
        }
        function y(e) {
            e = e.replace(/\r\n/g, "\n");
            for (var t = "", r = 0; r < e.length; r++) {
                var n = e.charCodeAt(r);
                n < 128 ? t += String.fromCharCode(n) : n > 127 && n < 2048 ? (t += String.fromCharCode(n >> 6 | 192),
                t += String.fromCharCode(63 & n | 128)) : (t += String.fromCharCode(n >> 12 | 224),
                t += String.fromCharCode(n >> 6 & 63 | 128),
                t += String.fromCharCode(63 & n | 128))
            }
            return t
        }
 function x(e) {
            var t, r, n, i, a, u, s, x, h, v = [], g = 7, w = 12, C = 17, _ = 22, O = 5, T = 9, b = 14, D = 20, E = 4, S = 11, A = 16, F = 23, j = 6, P = 10, B = 15, M = 21;
            for (e = y(e),
            v = l(e),
            u = 1732584193,
            s = 4023233417,
            x = 2562383102,
            h = 271733878,
            t = 0; t < v.length; t += 16)
                r = u,
                n = s,
                i = x,
                a = h,
                u = d(u, s, x, h, v[t + 0], g, 3614090360),
                h = d(h, u, s, x, v[t + 1], w, 3905402710),
                x = d(x, h, u, s, v[t + 2], C, 606105819),
                s = d(s, x, h, u, v[t + 3], _, 3250441966),
                u = d(u, s, x, h, v[t + 4], g, 4118548399),
                h = d(h, u, s, x, v[t + 5], w, 1200080426),
                x = d(x, h, u, s, v[t + 6], C, 2821735955),
                s = d(s, x, h, u, v[t + 7], _, 4249261313),
                u = d(u, s, x, h, v[t + 8], g, 1770035416),
                h = d(h, u, s, x, v[t + 9], w, 2336552879),
                x = d(x, h, u, s, v[t + 10], C, 4294925233),
                s = d(s, x, h, u, v[t + 11], _, 2304563134),
                u = d(u, s, x, h, v[t + 12], g, 1804603682),
                h = d(h, u, s, x, v[t + 13], w, 4254626195),
                x = d(x, h, u, s, v[t + 14], C, 2792965006),
                s = d(s, x, h, u, v[t + 15], _, 1236535329),
                u = c(u, s, x, h, v[t + 1], O, 4129170786),
                h = c(h, u, s, x, v[t + 6], T, 3225465664),
                x = c(x, h, u, s, v[t + 11], b, 643717713),
                s = c(s, x, h, u, v[t + 0], D, 3921069994),
                u = c(u, s, x, h, v[t + 5], O, 3593408605),
                h = c(h, u, s, x, v[t + 10], T, 38016083),
                x = c(x, h, u, s, v[t + 15], b, 3634488961),
                s = c(s, x, h, u, v[t + 4], D, 3889429448),
                u = c(u, s, x, h, v[t + 9], O, 568446438),
                h = c(h, u, s, x, v[t + 14], T, 3275163606),
                x = c(x, h, u, s, v[t + 3], b, 4107603335),
                s = c(s, x, h, u, v[t + 8], D, 1163531501),
                u = c(u, s, x, h, v[t + 13], O, 2850285829),
                h = c(h, u, s, x, v[t + 2], T, 4243563512),
                x = c(x, h, u, s, v[t + 7], b, 1735328473),
                s = c(s, x, h, u, v[t + 12], D, 2368359562),
                u = f(u, s, x, h, v[t + 5], E, 4294588738),
                h = f(h, u, s, x, v[t + 8], S, 2272392833),
                x = f(x, h, u, s, v[t + 11], A, 1839030562),
                s = f(s, x, h, u, v[t + 14], F, 4259657740),
                u = f(u, s, x, h, v[t + 1], E, 2763975236),
                h = f(h, u, s, x, v[t + 4], S, 1272893353),
                x = f(x, h, u, s, v[t + 7], A, 4139469664),
                s = f(s, x, h, u, v[t + 10], F, 3200236656),
                u = f(u, s, x, h, v[t + 13], E, 681279174),
                h = f(h, u, s, x, v[t + 0], S, 3936430074),
                x = f(x, h, u, s, v[t + 3], A, 3572445317),
                s = f(s, x, h, u, v[t + 6], F, 76029189),
                u = f(u, s, x, h, v[t + 9], E, 3654602809),
                h = f(h, u, s, x, v[t + 12], S, 3873151461),
                x = f(x, h, u, s, v[t + 15], A, 530742520),
                s = f(s, x, h, u, v[t + 2], F, 3299628645),
                u = p(u, s, x, h, v[t + 0], j, 4096336452),
                h = p(h, u, s, x, v[t + 7], P, 1126891415),
                x = p(x, h, u, s, v[t + 14], B, 2878612391),
                s = p(s, x, h, u, v[t + 5], M, 4237533241),
                u = p(u, s, x, h, v[t + 12], j, 1700485571),
                h = p(h, u, s, x, v[t + 3], P, 2399980690),
                x = p(x, h, u, s, v[t + 10], B, 4293915773),
                s = p(s, x, h, u, v[t + 1], M, 2240044497),
                u = p(u, s, x, h, v[t + 8], j, 1873313359),
                h = p(h, u, s, x, v[t + 15], P, 4264355552),
                x = p(x, h, u, s, v[t + 6], B, 2734768916),
                s = p(s, x, h, u, v[t + 13], M, 1309151649),
                u = p(u, s, x, h, v[t + 4], j, 4149444226),
                h = p(h, u, s, x, v[t + 11], P, 3174756917),
                x = p(x, h, u, s, v[t + 2], B, 718787259),
                s = p(s, x, h, u, v[t + 9], M, 3951481745),
                u = o(u, r),
                s = o(s, n),
                x = o(x, i),
                h = o(h, a);
            return (m(u) + m(s) + m(x) + m(h)).toLowerCase()
 }



function get_sign(s){
    return x(s)
}
// 错误算法抓取,我们走的路由并不是通过这个方法加密的
// 7452cae03604d062506ca03d2c132baa
console.log(get_sign("cid=508&param={\"cityId\":\"802\",\"size\":4}19DDD1FBDFF065D3A4DA777D2D7A81EC1712844049823"))